package br.com.quixada.smtpredes.servidor;

import javax.mail.Authenticator;
import javax.mail.PasswordAuthentication;


public class SimpleAuth extends Authenticator {
		public String usuario = null;
		public String senha = null;
		
		public SimpleAuth(String user, String password){
			usuario = user;
			senha = password;
		}
		protected PasswordAuthentication getPasswordAuthentication() {
			return new PasswordAuthentication(usuario, senha);
		}
}